/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jWASA;

import java.io.Serializable;
import java.sql.Time;
import java.sql.Date;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author gianmariospacagna
 */
public class PHR implements Serializable {

    String user;
    Date date;
    Time time;
    String place;
    String syntompsDescription;
    String routineDescription;
    HashSet<String> tags;

    public PHR(String user, Date date, Time time, String place, String syntompsDescription, String routineDescription, HashSet<String> tags) {
        this.user = user;
        this.date = date;
        this.time = time;
        this.place = place;
        this.syntompsDescription = syntompsDescription;
        this.routineDescription = routineDescription;
        this.tags = tags;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getRoutineDescription() {
        return routineDescription;
    }

    public void setRoutineDescription(String routineDescription) {
        this.routineDescription = routineDescription;
    }

    public String getSyntompsDescription() {
        return syntompsDescription;
    }

    public void setSyntompsDescription(String syntompsDescription) {
        this.syntompsDescription = syntompsDescription;
    }

    public HashSet<String> getTags() {
        return tags;
    }

    public void setTags(HashSet<String> tags) {
        this.tags = tags;
    }

    public Time getTime() {
        return time;
    }

    public void setTime(Time time) {
        this.time = time;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return ("Date: " + this.getDate() + " Time: " + this.getTime() + " Routine: " + this.getRoutineDescription());

    }
}
